/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconPetTupian: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M909.9 66.8H114.1C51.2 66.8 0 117.4 0 179.7v664.6c0 62.3 51.2 112.9 114.1 112.9h795.7c62.9 0 114.1-50.7 114.1-112.9V179.7c0.1-62.3-51.1-112.9-114-112.9zM44.5 179.7c0-37.7 31.2-68.4 69.6-68.4h795.7c38.4 0 69.6 30.7 69.6 68.4v403.8c-56.2-39.4-164.7-104.4-268-104.4-84.4 0-176.1 72.1-264.8 141.8-81.4 64-158.3 124.4-225.1 124.4-53.8 0-137.5-37.9-177-62.7V179.7z m935 664.5c0 37.8-31.2 68.5-69.6 68.5H114.1c-38.4 0-69.6-30.7-69.6-68.4V733.9c47.9 25.8 121.6 55.8 177 55.8 82.3 0 165-65 252.7-133.9 82.7-65 168.3-132.3 237.3-132.3 104.8 0 227.8 82.7 268 114.7v206z"
        fill={getIconColor(color, 0, '#666666')}
      />
      <path
        d="M475.2 384c0-85.9-69.9-155.8-155.8-155.8S163.6 298.1 163.6 384s69.9 155.8 155.8 155.8S475.2 469.9 475.2 384z m-267.1-0.1c0-61.3 50-111.3 111.3-111.3 61.4 0 111.3 49.9 111.3 111.3s-49.9 111.3-111.3 111.3-111.3-49.9-111.3-111.3z"
        fill={getIconColor(color, 1, '#666666')}
      />
    </svg>
  );
};

IconPetTupian.defaultProps = {
  size: 30,
};

export default IconPetTupian;
